
public class RequestHelper
{
    public string Get_Get_Json(HttpRequest req)
    {
        string JSON = "";
        string qs = req.QueryString.ToString().TrimStart('?');
        string[] qsarr = qs.Split('&');
        JSON += "{";
        foreach (string key in qsarr)
        {
            if (!key.Contains("="))
                continue;
            string[] tmparr = key.Split('=');
            JSON += "\"" + tmparr[0] + "\":\"" + tmparr[1] + "\",";
        }
        JSON = JSON.Trim(',');
        JSON += "}";
        return JSON;
    }
}